﻿<Window x:Class="CSNN.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Control System Of Neural Networks - CSNN" Height="441" Width="866" FontSize="18" WindowStyle="SingleBorderWindow" ResizeMode="CanResize">
    <Grid Background="White">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0*" />
            <ColumnDefinition Width="920*" />
        </Grid.ColumnDefinitions>
        <ScrollViewer Name="scrollViewer1" Margin="12,90,12,33" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Background="White" Grid.Column="1" BorderThickness="3" BorderBrush="#FF868686">
            <Image Height="271" Name="ImageNetShow" Stretch="None" Width="759" />
        </ScrollViewer>
        <Rectangle Grid.Column="1" Margin="0,84,0,27" Name="rectangle1" Stroke="Black" />
        <Menu Height="29" HorizontalAlignment="Stretch" Name="MainMenu" VerticalAlignment="Top" FontSize="14" Grid.Column="1">
            <MenuItem Header="Файл">
                <MenuItem Header="Новая сеть" Click="NewNetwork_Click"/>
                <MenuItem Header="Открыть" Click="OpenNetwork_Click"/>
                <Separator/>
                <MenuItem Header="Сохранить" Click="SaveNetwork_Click"/>
                <MenuItem Header="Сохранить как ..." Click="SaveAsNetwork_Click"/>
                <Separator/>
                <MenuItem Header="Закрыть файл" Click="CloseFile_Click"/>
                <MenuItem Header="Выход" Click="CloseWindow_Click"/>
            </MenuItem>
            <MenuItem Header="Нейронная сеть">
                <MenuItem Header="Обучение" Click="Education_Click"/>
                <MenuItem Header="Распознание" Click="Recignition_Click"/>
                <Separator/>
                <MenuItem Header="Обучающие примеры" Click="OpenTrainingSet_Click"/>
                <Separator/>
                <MenuItem Header="Основная информация" Click="NetInformation"/>
            </MenuItem>
            <MenuItem Header="Настройка" IsEnabled="False">
                <MenuItem Header="Настройки программы" IsEnabled="False"/>
            </MenuItem>
            <MenuItem Header="Справка">
                <MenuItem Header="Помощь" Click="ShowHelp_Click" IsEnabled="False"/>
                <MenuItem Header="О программе" Click="ShowAbout_Click"/>
            </MenuItem>
        </Menu>
        
        
        <ToolBarTray Grid.Column="1" Height="55" Margin="0,29,0,0" Name="toolBarTray1" VerticalAlignment="Top" Background="#FFF8F7F8">
            <ToolBar Background="#FFF8F7F8">
                <Button Name="buttonNew" Click="NewNetwork_Click" ToolTip="Создать новую сеть">
                    <Image Source="/CSNN;component/Bitmaps/toolbarNew.bmp"/>
                </Button>
                <Button Name="buttonOpen" Click="OpenNetwork_Click" ToolTip="Открыть файл сети">
                    <Image Source="/CSNN;component/Bitmaps/toolbarOpen.bmp" />
                </Button>
                <Button Name="buttonSave" Click="SaveNetwork_Click" ToolTip="Сохранить сеть в файл">
                    <Image Source="/CSNN;component/Bitmaps/toolbarSave.bmp" />
                </Button>
                <Button Name="buttonSaveAs" Click="SaveAsNetwork_Click" ToolTip="Сохранить сеть в файл как ...">
                    <Image Source="/CSNN;component/Bitmaps/toolbarSaveAs.bmp" />
                </Button>
            </ToolBar>
            <ToolBar Background="#FFF8F7F8">
                <Button Name="buttonTrainingImages" Click="OpenTrainingSet_Click" ToolTip="Обучающие примеры">
                    <Image Source="/CSNN;component/Bitmaps/toolBarEducationImages.bmp" />
                </Button>
                <Button Name="buttonEducation" Click="Education_Click" ToolTip="Обучение сети">
                    <Image Source="/CSNN;component/Bitmaps/toolBarEducate.bmp" />
                </Button>
                <Button Name="buttonRecognition" Click="Recignition_Click" ToolTip="Распознавание">
                    <Image Source="/CSNN;component/Bitmaps/toolbarRecgniotion.bmp" />
                </Button>
            </ToolBar>
        </ToolBarTray>
        <StatusBar Grid.Column="1" Name="statusBar1" Height="27" VerticalAlignment="Bottom" />
    </Grid>
</Window>
